<?php
/**
 * Created by PhpStorm.
 * User: xuaq
 * Date: 2018/9/10
 * Time: 15:13
 */

namespace App\Exports;

use App\Models\ErrorCode;
use Maatwebsite\Excel\Concerns\FromCollection;

class ErrorCodeExports implements FromCollection
{
    public function collection()
    {
        return ErrorCode::all();
    }
}